<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="weekId" name="weekId" th:value="${week.weekId}"  type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">上级：</label>
								<div class="col-sm-8">
									<input id="parentId" name="parentId" th:value="${week.parentId}"
										   class="form-control hidden" type="text">
								</div>
								<div class="col-sm-8">
									<input id="parentDeptName" name="parentDeptName" th:value="${parentDeptName}"
										   class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label" id="show1"></label>
								<div class="col-sm-8">
									<input id="weekName" name="weekName" th:value="${week.weekName}" class="form-control" type="text">
								</div>
							</div>
							<span id="show2">
								<div class="form-group">
									<label class="col-sm-3 control-label">第几周：</label>
									<div class="col-sm-8">
										<input id="weekNumber" name="weekNumber" th:value="${week.weekNumber}" class="form-control" type="text" maxlength="2">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label">周开始时间：</label>
									<div class="col-sm-8">
										<input id="weekStartDate" name="weekStartDate" th:value="${#dates.format(week.weekStartDate,'yyyy-MM-dd')}" class="form-control" type="date">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label">周结束时间：</label>
									<div class="col-sm-8">
										<input id="weekEndDate" name="weekEndDate" th:value="${#dates.format(week.weekEndDate,'yyyy-MM-dd')}" class="form-control" type="date">
									</div>
								</div>
							</span>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/system/week/edit.js">
	</script>
</body>
</html>
